package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 气瓶对象 lab_product_gas_cylinder
 * 
 * @author malang
 * @date 2022-02-02
 */
public class ProductGasCylinder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 备品编号 */
    @Excel(name = "备品编号")
    private String productNo;

    /** 使用单位 */
    @Excel(name = "使用单位")
    private Long deptId;
    private String deptName;

    public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	/** 备品规格 */
    @Excel(name = "备品规格")
    private String productSpec;

    /** 备品名称 */
    @Excel(name = "备品名称")
    private String productName;

    /** 气瓶类型 */
    @Excel(name = "气瓶类型")
    private Long productGasType;

    /** 进入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enteredAt;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String status;

    /** 离开时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离开时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date leftAt;

    /** 负责人工号 */
    @Excel(name = "负责人工号")
    private String ownerNo;

    /** 使用方向 */
    @Excel(name = "使用方向")
    private String useFor;
    
    private String ownerName;
    
    private BigDecimal quantity;
    
    private String packageWeight;
    
    

    public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public BigDecimal getQuantity() {
		return quantity;
	}

	public void setQuantity(BigDecimal quantity) {
		this.quantity = quantity;
	}

	public String getPackageWeight() {
		return packageWeight;
	}

	public void setPackageWeight(String packageWeight) {
		this.packageWeight = packageWeight;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductNo(String productNo) 
    {
        this.productNo = productNo;
    }

    public String getProductNo() 
    {
        return productNo;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setProductSpec(String productSpec) 
    {
        this.productSpec = productSpec;
    }

    public String getProductSpec() 
    {
        return productSpec;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductGasType(Long productGasType) 
    {
        this.productGasType = productGasType;
    }

    public Long getProductGasType() 
    {
        return productGasType;
    }
    public void setEnteredAt(Date enteredAt) 
    {
        this.enteredAt = enteredAt;
    }

    public Date getEnteredAt() 
    {
        return enteredAt;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setLeftAt(Date leftAt) 
    {
        this.leftAt = leftAt;
    }

    public Date getLeftAt() 
    {
        return leftAt;
    }

    public String getOwnerNo() {
		return ownerNo;
	}

	public void setOwnerNo(String ownerNo) {
		this.ownerNo = ownerNo;
	}

	public void setUseFor(String useFor) 
    {
        this.useFor = useFor;
    }

    public String getUseFor() 
    {
        return useFor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productNo", getProductNo())
            .append("deptId", getDeptId())
            .append("productSpec", getProductSpec())
            .append("productName", getProductName())
            .append("productGasType", getProductGasType())
            .append("enteredAt", getEnteredAt())
            .append("status", getStatus())
            .append("leftAt", getLeftAt())
            .append("useFor", getUseFor())
            .toString();
    }
}
